
import requests from '@/utils/requests'
//获取评论列表
export const commentList = goodsId => requests.get('/comment/list', {
    params: {
        scoreType: -1,
        goodsId,
        page: 1
    }
})
//获取评论总数
export const allComment = goodsId => requests.get('/comment/total', {
    params: {
        goodsId
    }
})